Configuring projects

The Project Properties dialog (File | Project Properties...) allows to manage various project-level settings such as roots, composing the project, as well as other components (compiler, debugger and so on).

The dialog contains a tree of available configuration components on the left. Click on any node you wish to view or edit settings for and the corresponding configuration component will be displayed on the right.

Note: The number of configuration components and settings may vary in different product editions.

Paths

These settings control the set of project roots.

Project Contains directories with files you intend to work with.
Sourcepath Contains directories and archive files corresponding to default java packages.
Classpath Contains directories and archive files with compiled java classes (.class files).
JavaDoc Contains directories and archive files with generated JavaDoc documentation.

Compiler

These settings control the compiler options.

Run/Debug

These settings control how the project will be executed from IntelliJ IDEA (whether in regular or debug modes).

Main class - specifies a fully qualified name of the class to be executed (passed to the JRE).
VM parameters - specifies a string passed to the VM (usually contains options like heap size, boot classpath, etc).
Program parameters - specifies a string of program parameters (will be appended to the main class name).
Working directory - specifies a working directory for the program.